package com.bstek.bdf2.core.view.frame.main;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.bstek.bdf2.core.context.ContextHolder;
import com.bstek.bdf2.core.controller.CoreMainFrame;
import org.apache.commons.lang.StringUtils;
import org.hibernate.Session;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.security.access.AccessDeniedException;

import com.bstek.bdf2.core.CoreHibernateDao;
import com.bstek.bdf2.core.business.IUser;
import com.bstek.bdf2.core.cache.ApplicationCache;
import com.bstek.bdf2.core.exception.NoneLoginException;
import com.bstek.bdf2.core.model.Url;
import com.bstek.bdf2.core.security.SecurityUtils;
import com.bstek.bdf2.core.security.UserAuthentication;
import com.bstek.dorado.annotation.DataProvider;

import javax.annotation.Resource;

/**
 * @since 2013-2-1
 * @author Jacky.gao
 */
public class MainFrame extends CoreMainFrame {
	public static final String BEAN_ID="bdf2.mainFrame";
	public static final String URL_FOR_NAVI_CACHE_KEY="url_for_navi_cache_key_";
	@DataProvider
	public Collection<Url> loadMeunUrls(String parentId) {
		Collection<Url> result = super.loadMeunUrls(parentId);
		return result;
	}
	

}
